package com.group.elmboot.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.group.elmboot.po.Transition;

import java.util.List;

@Mapper
public interface TransitionMapper extends BaseMapper<Transition>{

	@Select("select * from transition where user_id_in=#{userId} or user_id_out=#{userId}")
    List<Transition> listTransitionById(String userId);

}
